home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Classes / DE_OTPalettes / MathPalette / UpdateLibrary < prev   
Encoding:
Text File  |  1992-08-03  |  442 b   |  27 lines

  1. #!/bin/sh
  2.  
  3. engname=MathPalette
  4. filename=libMath.a
  5.  
  6. cd /tmp
  7. if test -r /usr/lib/$filename
  8. then
  9.   echo "Updating $engname library (/usr/lib)"
  10.   ranlib /usr/lib/$filename
  11.   exit
  12. fi
  13.  
  14. if test -r /usr/local/lib/$filename
  15. then
  16.   echo "Updating $engname library (/usr/local/lib)"
  17.   ranlib /usr/local/lib/$filename
  18.   exit
  19. fi
  20.  
  21.  
  22. echo "UpdateLibrary"
  23. echo "Can't find $engname library in either"
  24. echo "/usr/lib or /usr/local/lib"
  25. echo "Can't continue."
  26.  
  27.